package com.kingmed.kmss.common.dto.admin.ums;

import com.kingmed.kmss.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 后台用户表UmsAdmin创建对象
 * </p>
 */
@Data
@ApiModel(value = "后台用户表UmsAdmin创建对象")
public class UmsAdminCreateDTO extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String username;

    private String password;

    @ApiModelProperty("用户类型（sys_user为pc用户,app_user为移动端用户）,默认sys_user")
    private String userType;

    @ApiModelProperty("用户来源（oa为oa用户,crm为crm自建用户）")
    private String userSource;

    @ApiModelProperty("用户所属组织（来源HR）")
    private String orgFullName;

    @ApiModelProperty("用户来源系统ID")
    private String hrUserId;

    @ApiModelProperty("用户来源系统的组织ID")
    private String hrOrgId;

    @ApiModelProperty("HR系统员工号")
    private String employeeNum;

    @ApiModelProperty("oa系统登录账号")
    private String oaId;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("备注信息")
    private String remark;

    @ApiModelProperty("最后登录时间")
    private Date loginTime;

    /**
     * 用户状态
     * ("001", "在职")
     * ("002", "不在职")
     * ("003", "离职")
     * ("004", "离退休")
     * ("005", "返聘")
     * ("006", "试用")
     */
    @ApiModelProperty("用户状态")
    private String empStatus;

    @ApiModelProperty("直属上级")
    private String directLeader;
    private String directLeaderName;

    @ApiModelProperty("所有上级")
    private String directLeaders;

    @ApiModelProperty("用户所属组织ID（前端传）")
    private Long relationOrgId;

}
